a,abbr,acronym,address,applet,big,blockquote,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tbody,tfoot,thead,tr,tt,ul,var {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    font-size: 100%;
    vertical-align: baseline
}

body,table {
    font-weight: inherit
}

body,caption,table,td,th {
    margin: 0;
    padding: 0;
    outline: 0;
    font-style: inherit;
    font-size: 100%
}

body {
    line-height: 1;
    background: #fff;
    vertical-align: baseline
}

caption,table,td,th {
    font-family: inherit;
    vertical-align: middle
}

table {
    border-collapse: separate;
    border-spacing: 0
}

caption,td,th {
    border: 0;
    text-align: left;
    font-weight: 400
}

ol,ul {
    list-style: none
}

a img,body,table {
    border: 0
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body,html {
    height: 100%
}

body {
    background-color: #45a176;
    color: #333;
    font-family: 'Open Sans',sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%
}

#container {
    position: absolute;
    top: calc(40% + 1.5rem);
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0)
}

#topbar,.message {
    position: absolute;
    left: 12px;
    width: 100%;
    text-align: center
}

#topbar {
    top: 0;
}

#topbar button {
    background: 0 0;
    border: 1px solid #fff;
    outline: 0;
    margin: .1rem;
    padding: .2rem;
    font: inherit;
    font-size: .875rem;
    color: #fff;
    cursor: pointer
}

#topbar button:hover {
    background-color: #fff;
    color: #444
}

.message {
    bottom: 0;
    padding: 1rem .5rem;
    font-size: .5rem
}

.card {
    position: absolute;
    display: inline-block;
    left: -1.9375rem;
    top: -2.75rem;
    width: 3.875rem;
    height: 5.5rem;
    background-color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15);
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    cursor: default
}

.card .bottomright,.card .topleft {
    position: absolute;
    font-size: .6rem;
    text-align: center;
    line-height: 1;
    letter-spacing: -.1rem;
    font-family: 'Ubuntu Condensed',sans-serif;
    white-space: pre
}

.card .topleft {
    top: .25rem;
    left: .25rem;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0)
}

.card .bottomright {
    bottom: .25rem;
    right: .25rem;
    -webkit-transform: rotate(180deg) translate(-50%,0);
    -moz-transform: rotate(180deg) translate(-50%,0);
    -o-transform: rotate(180deg) translate(-50%,0);
    -ms-transform: rotate(180deg) translate(-50%,0);
    transform: rotate(180deg) translate(-50%,0)
}

.card .face {
    height: 100%;
    background-position: 50% 50%;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat
}

.card.joker .bottomright,.card.joker .topleft {
    font-size: .4rem
}

.card.clubs,.card.joker,.card.spades {
    color: #000
}

.card.diamonds,.card.hearts {
    color: red
}

.card.spades1 .face {
    background-image: url(faces/0_1.svg)
}

.card.spades2 .face {
    background-image: url(faces/0_2.svg)
}

.card.spades3 .face {
    background-image: url(faces/0_3.svg)
}

.card.spades4 .face {
    background-image: url(faces/0_4.svg)
}

.card.spades5 .face {
    background-image: url(faces/0_5.svg)
}

.card.spades6 .face {
    background-image: url(faces/0_6.svg)
}

.card.spades7 .face {
    background-image: url(faces/0_7.svg)
}

.card.spades8 .face {
    background-image: url(faces/0_8.svg)
}

.card.spades9 .face {
    background-image: url(faces/0_9.svg)
}

.card.spades10 .face {
    background-image: url(faces/0_10.svg)
}

.card.spades11 .face {
    background-image: url(faces/0_11.svg)
}

.card.spades12 .face {
    background-image: url(faces/0_12.svg)
}

.card.spades13 .face {
    background-image: url(faces/0_13.svg)
}

.card.hearts1 .face {
    background-image: url(faces/1_1.svg)
}

.card.hearts2 .face {
    background-image: url(faces/1_2.svg)
}

.card.hearts3 .face {
    background-image: url(faces/1_3.svg)
}

.card.hearts4 .face {
    background-image: url(faces/1_4.svg)
}

.card.hearts5 .face {
    background-image: url(faces/1_5.svg)
}

.card.hearts6 .face {
    background-image: url(faces/1_6.svg)
}

.card.hearts7 .face {
    background-image: url(faces/1_7.svg)
}

.card.hearts8 .face {
    background-image: url(faces/1_8.svg)
}

.card.hearts9 .face {
    background-image: url(faces/1_9.svg)
}

.card.hearts10 .face {
    background-image: url(faces/1_10.svg)
}

.card.hearts11 .face {
    background-image: url(faces/1_11.svg)
}

.card.hearts12 .face {
    background-image: url(faces/1_12.svg)
}

.card.hearts13 .face {
    background-image: url(faces/1_13.svg)
}

.card.clubs1 .face {
    background-image: url(faces/2_1.svg)
}

.card.clubs2 .face {
    background-image: url(faces/2_2.svg)
}

.card.clubs3 .face {
    background-image: url(faces/2_3.svg)
}

.card.clubs4 .face {
    background-image: url(faces/2_4.svg)
}

.card.clubs5 .face {
    background-image: url(faces/2_5.svg)
}

.card.clubs6 .face {
    background-image: url(faces/2_6.svg)
}

.card.clubs7 .face {
    background-image: url(faces/2_7.svg)
}

.card.clubs8 .face {
    background-image: url(faces/2_8.svg)
}

.card.clubs9 .face {
    background-image: url(faces/2_9.svg)
}

.card.clubs10 .face {
    background-image: url(faces/2_10.svg)
}

.card.clubs11 .face {
    background-image: url(faces/2_11.svg)
}

.card.clubs12 .face {
    background-image: url(faces/2_12.svg)
}

.card.clubs13 .face {
    background-image: url(faces/2_13.svg)
}

.card.diamonds1 .face {
    background-image: url(faces/3_1.svg)
}

.card.diamonds2 .face {
    background-image: url(faces/3_2.svg)
}

.card.diamonds3 .face {
    background-image: url(faces/3_3.svg)
}

.card.diamonds4 .face {
    background-image: url(faces/3_4.svg)
}

.card.diamonds5 .face {
    background-image: url(faces/3_5.svg)
}

.card.diamonds6 .face {
    background-image: url(faces/3_6.svg)
}

.card.diamonds7 .face {
    background-image: url(faces/3_7.svg)
}

.card.diamonds8 .face {
    background-image: url(faces/3_8.svg)
}

.card.diamonds9 .face {
    background-image: url(faces/3_9.svg)
}

.card.diamonds10 .face {
    background-image: url(faces/3_10.svg)
}

.card.diamonds11 .face {
    background-image: url(faces/3_11.svg)
}

.card.diamonds12 .face {
    background-image: url(faces/3_12.svg)
}

.card.diamonds13 .face {
    background-image: url(faces/3_13.svg)
}

.card.joker1 .face {
    background-image: url(faces/4_1.svg)
}

.card.joker2 .face {
    background-image: url(faces/4_2.svg)
}

.card.joker3 .face {
    background-image: url(faces/4_3.svg)
}

@media (max-width:540px) {
    #topbar {
        text-align: left
    }

    .gh-ribbon {
        -webkit-transform: scale(.5);
        -moz-transform: scale(.5);
        -o-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
        -webkit-transform-origin: 100% 0;
        -moz-transform-origin: 100% 0;
        -o-transform-origin: 100% 0;
        -ms-transform-origin: 100% 0;
        transform-origin: 100% 0
    }
}

@media (min-width:800px) {
    html {
        font-size: 125%
    }
}